package com.common.help.test06;

public class Test7 {

	public static void main(String[] args) {
		new C();
	}
}

class A extends C{
	public A(){
		System.out.println("A()");
	}
	
	public A(int i){
		System.out.println("A("+i+")");
	}
}
class B{
	public B(){
		System.out.println("B()");
	}
	public B(int i){
		System.out.println("B("+i+")");
	}
}
class C{
	private B b;
	public C(){
		new B();
		new A();
	}
}
